<?php
/**
 * Clase FN para PoRecepcionFN
 *
 * @package    
 * @subpackage PoRecepcionFN
 * @author     hans
 * @version    SVN:: PoRecepcionFN.class.php,v 1.1 2012-03-18 20:31:01 Hans.parra Exp $
 */

require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/common/conexion.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/im/mov/BFN/BasePoRecepcionFN.class.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/im/mov/FN/PoRecepcionLineaFN.class.php');


class PoRecepcionFN extends BasePoRecepcionFN
{

  public function getPoRecepcion()
  {
  
    $o_PoRecepcionBN = $this->selectByPK();
    
    $o_PoRecepcionLineaFN = new PoRecepcionLineaFN();
    $o_PoRecepcionLineaFN->setRcpId($this->getRcpId());    
    $o_PoRecepcionLineaBN =  $o_PoRecepcionLineaFN->selectPoRecepcionItemDetalle();
    
    $o_PoRecepcionBN->setO_PoRecepcionLineaBN($o_PoRecepcionLineaBN);
    
    return $o_PoRecepcionBN;
  
  }

}